]> dgit.raspbian.org Git - gnome-shell.git/commit
search: Hide search providers which are blacklisted by parental controls
authorPhilip Withnall <withnall@endlessm.com>
Mon, 30 Mar 2020 11:40:11 +0000 (12:40 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 7 Apr 2020 15:47:33 +0000 (17:47 +0200)
commit143ab6ac7ffbcc8c47cda7720dfbabc3674aa443
treebb6fefad7facef4490cf1ef410beb24080cb5e1b
parent3e5b90dbba11c9782e870c2081d5037e01f4adad
search: Hide search providers which are blacklisted by parental controls

If a search provider is installed by an app which is blacklisted for the
current user by their parental controls, don’t show it or results for
it.

Currently, this only filters ‘remote’ (not built-in to the shell) search
providers. This seems fine for now; in future it could be expanded to
also filter built-in search providers, if any of them end up needing to
be filtered.

No corresponding changes need to be made `remoteSearch.js`, because the
results of `loadRemoteSearchProviders()` are filtered in `search.js`.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/465
js/ui/search.js